//
//  GLALocalized.h
//  SDK
//
//  Created by luo on 2019/3/20.
//  Copyright © 2019 luo. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "GLASDK.h"

#define LocalizedString(A,...) [GLALocalized getLocalizedString:A]

#define TrackCNString(A,...) [GLALocalized getZhanString:A]

@protocol LocalizedTarget;
@interface GLALocalized : NSObject

/**
 * 设置本地化字符串文件
 */
+ (void)setPlist:(NSString*)plist;

+(void)setLanguageEnvi;

/**
 * 获取本地化文本
 */
+ (NSString *)getLocalizedString:(NSString*)original;

/**
 * 获取中文文本（本地），本地国际化中无则使用系统语言国际化文本
 */
+ (NSString *)getZhanString:(NSString*)original;

/**
 * 获取当前语言代码
 */
+ (NSString*)currentLanguage;

@end


